<?php
	//var_dump(ini_set("register_globals", "off"));
	var_dump(ini_get("register_globals"));
	include "../functions.php";
	// p($_GET);
	//$_GET['login'];    $login
	//用户名  admin    密码 123
	// $login=false;
	if($_POST['uname']=='admin' && $_POST['pwd']==123){
		$login = true;
	}
	if($login){
		echo "登录成功";
	}else{
		echo "登录失败";
	}
?>